<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title><?php echo lang('system_manager')?></title>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/administrator.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/styles.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/icon.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/menu.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/system.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/ui/colorbox.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/datepicker.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/datetheme.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>templates/css/validation.css">
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/jquery-core.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/jquery.ui.core.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/function.admin.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/datepicker.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/widget.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/apps.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/ui.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/ajaxupload.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/ui/jquery.colorbox.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/set_check_box.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/tooltip.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/price_format.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/ckeditor/ckeditor.js"></script>
        <script type="text/javascript" src="<?php echo base_url()?>templates/ckeditor/adapters/jquery.js"></script>

        <script type="text/javascript">
            var url = '<?php echo base_url()?>';
            var urlsite = '<?php echo base_url_site()?>';
            var urlimg = '<?php echo base_url_site().'/uploads/images/'?>';
            var BASE_URI = '<?php echo base_url()?>';
        </script>

        <script type="text/javascript">
            var instance;

            function update_instance()
            {
                instance = CKEDITOR.currentInstance;
            }

            (function($) {
                $(function(){

                    $('textarea#wysiwyg-simple').ckeditor({
                        toolbar: [
                            ['Source','Preview'],['pyroimages', 'pyrofiles','Image','Flash'],
                            ['Cut','Copy','Paste','PasteText','PasteFromWord'],
                            ['Undo','Redo'],
                            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
                            ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
                            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                            ['BidiLtr', 'BidiRtl'],
                            ['Link','Unlink','Anchor'],
                            ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],
                            ['Styles','Format','Font','FontSize'],
                            ['TextColor','BGColor'],
                            ['Maximize', 'ShowBlocks']
                          ],
                        width: '99%',
                        height: 150,
                        dialog_backgroundCoverColor: '#000',
                        defaultLanguage: 'en',
                        language: 'en'
                    });

                    $('textarea#wysiwyg-advanced').ckeditor({
                        toolbar: [
                            ['Source','Preview'],['pyroimages', 'pyrofiles','Image','Flash'],
                            ['Cut','Copy','Paste','PasteText','PasteFromWord'],
                            ['Undo','Redo'],
                            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
                            ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
                            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                            ['BidiLtr', 'BidiRtl'],
                            ['Link','Unlink','Anchor'],
                            ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],
                            ['Styles','Format','Font','FontSize'],
                            ['TextColor','BGColor'],
                            ['Maximize', 'ShowBlocks']
                        ],
                        extraPlugins: 'pyroimages',
                        width: '99%',
                        height: 250,
                        dialog_backgroundCoverColor: '#000',
                        removePlugins: 'elementspath',
                        defaultLanguage: 'en',
                        language: 'en'
                    });

                });
            })(jQuery);
        </script> 
    </head>
<body>